package com.runa.protocol.dto;

import java.util.List;

public class DTUEvent {

    /**
     * Id : 12121212
     * Func : up
     * Seq : 229bc294-836f-40b2-b1c6-1b16334518af
     * Time : 1668760605
     * Param : {"Type":"event","Data":[{"Event":"powerdown"}]}
     */

    private String Id;
    private String Func;
    private String Seq;
    private int Time;
    private ParamBean Param;

    public String getId() {
        return Id;
    }

    public void setId(String Id) {
        this.Id = Id;
    }

    public String getFunc() {
        return Func;
    }

    public void setFunc(String Func) {
        this.Func = Func;
    }

    public String getSeq() {
        return Seq;
    }

    public void setSeq(String Seq) {
        this.Seq = Seq;
    }

    public int getTime() {
        return Time;
    }

    public void setTime(int Time) {
        this.Time = Time;
    }

    public ParamBean getParam() {
        return Param;
    }

    public void setParam(ParamBean Param) {
        this.Param = Param;
    }

    public static class ParamBean {
        /**
         * Type : event
         * Data : [{"Event":"powerdown"}]
         */

        private String Type;
        private List<DataBean> Data;

        public String getType() {
            return Type;
        }

        public void setType(String Type) {
            this.Type = Type;
        }

        public List<DataBean> getData() {
            return Data;
        }

        public void setData(List<DataBean> Data) {
            this.Data = Data;
        }

        public static class DataBean {
            /**
             * Event : powerdown
             */

            private String Event;

            public String getEvent() {
                return Event;
            }

            public void setEvent(String Event) {
                this.Event = Event;
            }
        }
    }
}
